function DisplayTapContent(){
	createContentone();
	timeClock();
	setTableSelectZone();
}

function createContentone(){
	$('[name="tapcontent_datenow"]').text(new Date().getFormatedDateAndMonthString());
}

function timeClock(){
	var today=getServerDateTime();
	var h=today.getHours();
	var m=checkTime(today.getMinutes());
	$('[name="countTimer"]').html(h+":"+m);
	setTimeout(function(){timeClock()},500);
}

function checkTime(i){ return (i<10)? "0"+i : i; }
function setTableSelectZone(){
	var zoneNum=SharedData.Zone;
	var buttonZone="";
	for(var i=0;i<zoneNum.length;i++){
		buttonZone+='<input type="button" name="btnZoneTable" class="content2buttonL btn" value="'+zoneNum[i].title+'" filId="'+zoneNum[i].id+'" onclick="selectedZone(this)">';
	}
	$('[name=table_zone]').append('<input type="button" name="btnZoneTable"  class="content2buttonL btn selectbtn" value="'+Alltable+'" filId="allTable" onclick="selectedZone(this)">'+buttonZone);
}
